home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOpus Plus
/
DOpus Plus.iso
/
Tutorial
/
C Guide
/
Simple_Module2
/
includes
/
ExampleRequest.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-08-22
|
863b
|
30 lines
/*******************************************************************
ExampleRequest.h
*********************************************************************/
// at first our globally data
#include "includes/Project.h"
/********************************************************************/
// we would not need here any stuff, but it's nice for learning about
// and so we show the reversed arguments in the requester too and the
// count of signs...
typedef struct _ERData
{
char buffer[256]; // here we store the reversed copy
char output[256]; // and here we do formatting
ULONG count; // counter of signs
STRPTR ptr_read;
STRPTR ptr_write;
} ERData;
/********************************************************************/
// our function prototype
void ExampleRequest( STRPTR args, struct Screen *screen, IPCData *ipc );